package com.naiterui.ehp.bs.esign.api.wukong.exception;

import com.naiterui.ehp.bp.support.exception.BusinessException;
import com.naiterui.ehp.bs.esign.exception.ExceptionCodes;

/**
 * description 自定义全局异常
 * @author 宫清
 * datetime 2019年7月1日上午10:43:24
 */
public class DefineException extends BusinessException {
	
	private static final long serialVersionUID = 4359180081622082792L;
	private BusinessException e;

	public DefineException(int code, String msg) {
		super(code, msg);
	}

	public DefineException(String msg) {
		super(ExceptionCodes.FAILED, msg);
	}
	
	public DefineException(){
		super(ExceptionCodes.FAILED);
		
	}

	public BusinessException getE() {
		return e;
	}

	public void setE(BusinessException e) {
		this.e = e;
	}
	
	
	
	
}
